﻿@{
   
    VedranKrizicPortfolio.Models.vedranportfolioEntities vkp = new VedranKrizicPortfolio.Models.vedranportfolioEntities();
    var topSkills = vkp.Skills.OrderBy(a => a.Order).Take(5);
}

<div class="SHeading">
<a style="text-decoration:none; color:White; font-size: 14px;" data-ajax="true" data-ajax-loading="#loader" data-ajax-method="Get" data-ajax-mode="replace" data-ajax-update="#Content" href="/Home/Skills/">
    <div>
        Skills/Qualifications
    </div>
</a>

</div>
<div class="SkillsContent">
    @foreach (var item in topSkills)
{
    <div>
        <span>@item.SkillName</span>
        <img src="@Url.Content("~/Content/themes/base/images/" + @item.Rate + "rate.png")" alt="@item.Rate stars"/>
    </div> 
}
</div>



